import request from '@/utils/request'

// 获取面经详情列表
export const articleApi = (params) => {
  return request({
    url: '/h5/interview/query',
    params: params
  })
}
// 获取单个面经详情

export const detailApi = (id) => {
  return request({
    url: '/h5/interview/show',
    params: {
      id: id
    }
  })
}
// 获取点赞收藏详细
export const likeAndCollectApi = (data) => {
  return request.post('/h5/interview/opt', data)
}

// 收藏接口
export const likeAndCollectListApi = (params) => {
  return request({
    url: '/h5/interview/opt/list',
    params
  })
}
